<table class="table">
    <tbody>
        <?php foreach( $data as $row ) :?>
        <tr>
            <td>&nbsp;</td>
            <td width="100">#<?php echo $row['goods']?></td>
            <td width="100"><?php echo $row['goodsName']?></td>
            <td width="80"><?php echo $row['stadiumName']?></td>
            <td width="220">
                <?php echo substr($row['timeFrom'], 0 , 16 ) ?> - 
                <?php echo substr($row['timeTo'], 11 , 5 )?>
            </td>
            <td width="80"><?php echo $row['count']?>人/场</td>
            <td width="100"><?php echo $row['realPrice'] == 0 ? '免费' :  '&yen; ' . $row['realPrice'].'元' ?></td>
        </tr>
        <?php endforeach; ?>
        <?php if ( !empty( data ) && $userType == 14 ) : ?>
        <tr>
            <td colspan="7" style="text-align:right">
                <?php if ( $data[0]['order_status'] == 2 || $data[0]['order_status'] == 4 ) : ?>
                <button class="btn btn-success auth_btn" data-id="<?php echo $data[0]['orderId']?>"><i class="fa fa-smile-o"></i> 超级验证</button>
                <?php endif ; ?>
                <?php if ( $data[0]['order_status'] == 2 ) : ?>
                <button class="btn btn-danger drawback_btn" data-id="<?php echo $data[0]['orderId']?>"><i class="fa fa-frown-o"></i> 超级退订</button>
                <?php endif ; ?>
            </td>
        </tr>
        <?php endif ; ?>
    </tbody>
</table>
